ThirstyAffiliates\Models\Affiliate_Links_CPT D

Total Complexity 172
Dependencies 10
Dependents 1
Total lines 1,479
Lines of code 781
Logical lines of code 393
Comment lines 422
Methods 42
Properties 5

Methods 42

Method Rating Maintainability Complexity Lines of code
register_metaboxes()
A
37 10 81
maybe_change_post_type_labels()
A
45 12 38
save_post()
A
44 10 44
set_submenu_order()
A
52 10 23
modify_quick_links()
A
44 8 44
add_category_slug_to_permalink()
A
55 9 16
custom_post_listing_column_custom_sorting()
A
53 8 20
count_links()
S
48 6 34
thirstypay_links_filter()
S
50 6 31
highlight_thirstypay_menu_item()
S
58 7 14
filter_months_dropdown()
S
50 6 29
custom_post_listing_column_value()
S
50 6 27
ajax_link_inserted_scanner()
S
49 6 26
ajax_get_category_slug()
S
54 6 18
add_new_thirstypay_link_url()
S
59 6 13
custom_post_listing_column()
S
56 5 17
convert_cat_id_to_slug_in_query()
S
60 5 12
get_inserted_into_rows_html()
S
52 4 23
show_thirstypay_popup()
S
57 4 16
register_thirstylink_custom_post_type()
S
44 1 48
restrict_links_by_category()
S
56 3 17
get_menu_icon()
S
66 4 7
inserted_link_scanner_metabox()
S
58 3 13
register_thirstylink_category_custom_taxonomy()
S
46 1 38
get_thirstylink_post()
S
72 3 5
sort_metaboxes()
S
69 3 6
run()
S
52 1 23
link_options_metabox()
S
57 1 15
get_instance()
S
72 2 5
add_affiliate_link_tag()
S
71 2 6
replace_permalink_with_id()
S
71 2 5
add_thirstypay_page()
S
64 2 10
save_affiliate_link_metabox()
S
80 1 3
attach_images_metabox()
S
69 1 6
save_default_affiliate_link_category()
S
81 1 3
thirstypay_metabox()
S
71 1 5
custom_post_listing_sortable_column()
S
68 1 7
urls_metabox()
S
67 1 7
register_admin_menu_items()
S
65 1 9
register_admin_interfaces()
S
71 1 6
initialize()
S
70 1 6
__construct()
S
73 1 5